package pojo;

import java.util.Date;

/**
 * 盘点记录表实体类
 */
public class CheckRecord {
    private Long checkRecordId;     //盘点记录主键Id
    private String checkRecordNum;  //盘点记录编号:PD+时间戳+序号
    private Long warehouseId;       //关联仓库Id
    private Long outStorageId;      //关联出库表Id
    private Long inStorageId;       //关联入库表Id
    private Long removeStateId;     //删除状态:1_已删除,2_未删除
    private Date createDate;        //创建时间

    public CheckRecord(Long checkRecordId, String checkRecordNum, Long warehouseId, Long outStorageId, Long inStorageId, Long removeStateId, Date createDate) {
        this.checkRecordId = checkRecordId;
        this.checkRecordNum = checkRecordNum;
        this.warehouseId = warehouseId;
        this.outStorageId = outStorageId;
        this.inStorageId = inStorageId;
        this.removeStateId = removeStateId;
        this.createDate = createDate;
    }

    public CheckRecord() {
    }

    @Override
    public String toString() {
        return "CheckRecord{" +
                "checkRecordId=" + checkRecordId +
                ", checkRecordNum='" + checkRecordNum + '\'' +
                ", warehouseId=" + warehouseId +
                ", outStorageId=" + outStorageId +
                ", inStorageId=" + inStorageId +
                ", removeStateId=" + removeStateId +
                ", createDate=" + createDate +
                '}';
    }

    public Long getCheckRecordId() {
        return checkRecordId;
    }

    public void setCheckRecordId(Long checkRecordId) {
        this.checkRecordId = checkRecordId;
    }

    public String getCheckRecordNum() {
        return checkRecordNum;
    }

    public void setCheckRecordNum(String checkRecordNum) {
        this.checkRecordNum = checkRecordNum;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getOutStorageId() {
        return outStorageId;
    }

    public void setOutStorageId(Long outStorageId) {
        this.outStorageId = outStorageId;
    }

    public Long getInStorageId() {
        return inStorageId;
    }

    public void setInStorageId(Long inStorageId) {
        this.inStorageId = inStorageId;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
